<template>
  <div class="home">
    <div class="header">
      <div>
        武汉<i class="iconfont icon-xiala"></i>
      </div>
      <div class="search" @click="toSearch">
        <i class="iconfont icon-sousuo_o"></i>
        <span>公积金在线查询</span>
        <button>搜索</button>
      </div>
      <div>
        <i class="iconfont icon-jiahao"></i>
      </div>
    </div>
    <div class="content">
      <div>
        <i class="iconfont icon-saoyisao"></i>
        <p>扫一扫</p>
      </div>
      <div>
        <i class="iconfont icon-dingdandaifukuan"></i>
        <p>收付款</p>
      </div>
      <div>
        <i class="iconfont icon-feiji"></i>
        <p>出行</p>
      </div>
      <div>
        <i class="iconfont icon-qiabao"></i>
        <p>卡包</p>
      </div>
      
    </div>
  </div>
</template>

<script>


export default {
  name: 'Home',
  methods:{
    toSearch(){
      this.$router.push('/Search')
    }
  },
  components: {
    
  }
}
</script>
<style scoped>
.home{
  font-size: 40px;
  background: #1876fa;
  color: white;
}
.header{
  padding: 30px 10px;
  display: flex;
  justify-content: space-around;
  line-height: 80px;
}
.header i{
  font-size: 50px;
}
.header .search{
  background: white;
  color: gray;
  font-size: 30px;
  padding: 10px 20px;
  border-radius: 20px;
  line-height: 60px;
}
.header .search button{
  border:none;
  font-size: 35px;
  background: none;
  color: #1876fa;
  padding-left: 100px;
}
.content i{
  display: inline-block;
  font-size: 80px;
  padding-bottom: 8px;
}
.content{
  display: flex;
  text-align: center;
  justify-content: space-around;
  padding: 20px 0;
}

</style>
